/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package astralmlprocessor;

import formulagraph.Punto;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;

/**
 *
 * @author age
 */
public class test {
    public static void main(String args[]) {
        
        AstralMLCreator a = new AstralMLCreator();
        AstralMLCreator.ProyectoInfo pi = 
            new AstralMLCreator.ProyectoInfo(
                "2453", "MP00", "B17", "20080212", 
                "20080212", "PPS", "Aquí van los comentarios", 
                "Puede tener comentarios.", "", "", "", "", "", 
                "", "", "", "", "", "", "", new String [] {"aa", "bb"});
        a.createBasicStructure(pi);
        ArrayList<PuntoAstro> ar = new ArrayList<PuntoAstro>(Arrays.asList(
                new PuntoAstro(1193.610363, 12.7344, 0.0066), 
                new PuntoAstro(99.99, 88.88, 77.0, "Comm")));
        a.addSesion("R", "FSA", "1193", "180", "Not serie","Not obs", ar);
        a.addSesion("R", "AGE", "1193", "180", "Not serie","Not obs", ar);
        a.print();
        pi.metObj = new String [] {"cc", "dd"};
        a.modifBasicStructure(pi);
        a.print();
        a.save("aa.xml");
    }
}
